﻿package com.bizmlib.ui.composite
{
	import flash.events.*;
	
	
	public class UICompositeManagerEvent extends Event
	{
		public static const BEFORE_SHOW_START:String = "beforeShowStart";
		public static const SHOW_START:String = "showStart";
		public static const HIDE_START:String = "hideStart";
		public static const HIDE_COMPLETE:String = "hideComplete";
		public static const SHOW_COMPLETE:String = "showComplete";
		public static const ITEMS_REMOVED:String = "itemsRemoved";
		public static const ITEM_SHOW_COMPLETE:String = "itemShowComplete";
		
		private var __items:Array;
		
		
		public function UICompositeManagerEvent(type:String, items:Array = undefined)
		{
			super(type);
			
			__items = items;
		}
		
		
		public function get items():Array
		{
			return __items;
		}
		
		
		override public function toString():String
		{
			return "[UICompositeManagerEvent	type=" + type + "]";
		}
	}
}